package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.StatisticsQueryMapper;
import com.ruoyi.system.domain.StatisticsQuery;
import com.ruoyi.system.service.IStatisticsQueryService;

/**
 * 统计查询Service业务层处理
 * 
 * @author coderChen
 * @date 2024-01-10
 */
@Service
public class StatisticsQueryServiceImpl implements IStatisticsQueryService
{
    @Autowired
    private StatisticsQueryMapper statisticsQueryMapper;

    @Override
    public int getServiceCount()
    {
        return statisticsQueryMapper.selectServiceCount();
    }

    @Override
    public int getEducationCount()
    {
        return statisticsQueryMapper.selectEducationCount();
    }

    @Override
    public int getClassroomCount()
    {
        return statisticsQueryMapper.selectClassroomCount();
    }
}

